package com.ohs.ohsoa.system.dto;


import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Size;
import java.util.List;

/**
 * 部门
 *
 * @author qianjp
 * @since  2021年10月7日
 */
@Data
public class DepartmentDto {


    @ApiModelProperty(value = "编号,主键")
    @Size(max = 32,message="")
    private String departGuid;

    @ApiModelProperty(value = "集团下企业主键")
    @Size(max = 32,message="")
    private String groupEnterpriseGuid;

    @ApiModelProperty(value = "部门编号")
    @Size(max = 4,message="")
    private String departNo;

    @ApiModelProperty(value = "部门名称")
    @Size(max = 50,message="")
    private String departName;

    @ApiModelProperty(value = "删除Flag，0删除 1正常")
    private String deleteFlag;

    @ApiModelProperty(value = "排序")
    private Integer sortFlag;

    @ApiModelProperty(value = "是否是开发部门，0不是 1是")
    private String isKaifa;

    @ApiModelProperty(value = "颜色标记")
    @Size(max = 32,message="")
    private String color;

    @ApiModelProperty(value = "编号,主键")
    @Size(max = 32,message="")
    private List<String> departGuids;

}
